/*
 * Copyright (c) 2023, 2024,yzc.cn All rights reserved.
 *
 */
package cn.yzc.server.impl;

import cn.yzc.mapper.StudentMapper;
import cn.yzc.pojo.Student;
import cn.yzc.server.StudentServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * <p>Project: EasyExcel - StudentServerImpl</p>
 * <p>Powered by yzc On 2024-03-21 11:49:24</p>
 * <p>描述：<p>
 *
 * @author yzc [youzhicheng0415@163.com]
 * @version 1.0
 * @since 17
 */
@Service
public class StudentServerImpl implements StudentServer {

    @Autowired
    StudentMapper studentMapper;

    @Override
    public String save(ArrayList<Student> students) {
        studentMapper.save(students);
        return "保存成功";
    }
}
